using Marknic.TestRunner.Rigging;
using NetduinoHappyHour.Util;
using System;

namespace NetduinoHappyHour.Util
{
    public class BooleanHelperTest
    {
        public void TestParseFalse()
        {
            Assert.IsFalse(BooleanHelper.Parse(null));
            Assert.IsFalse(BooleanHelper.Parse(""));
            Assert.IsFalse(BooleanHelper.Parse("123"));
            Assert.IsFalse(BooleanHelper.Parse("faLse"));
        }
        public void TestParseTrue()
        {
            Assert.IsTrue(BooleanHelper.Parse("true"));
            Assert.IsTrue(BooleanHelper.Parse("TrUe"));
        }
    }
}
